package com.haixiaoke.saas.lock.domain;

import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 锁操作记录对象 biz_lock_operating_record
 *
 * @author xiaolong
 * @date 2025-04-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LockOperatingRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 锁操作记录id
     */
    private Long lockOperatingRecordId;

    /**
     * 锁id
     */
    @Excel(name = "锁id")
    private Long lockId;

    /**
     * 操作类型：1.新增；2.编辑；3.删除
     */
    @Excel(name = "操作类型：1.新增；2.编辑；3.删除")
    private String operatingType;

    /**
     * 操作内容
     */
    @Excel(name = "操作内容")
    private String operatingContent;

    public LockOperatingRecord(Long lockId, String operatingType, String operatingContent) {
        this.lockId = lockId;
        this.operatingType = operatingType;
        this.operatingContent = operatingContent;
    }

}
